*{
  margin: 0;
  padding: 0;
  list-style: none;
}
.box{

  margin: 100px auto;
  width: 500px;
  height: 200px;
  /* border: 1px solid black; */
}
.box >.img_box{
  position: relative;
  height: 150px;
  /* background-color: skyblue; */
}
.box> .img_box > ul >li{
  position: absolute;
  width: 400px;
  transition: 0.3s ease;
}
.box> .img_box > ul >li>img{
  width: 100%;
  border-radius: 20px;
}
.box>.img_box>.arrow_left{
  position: absolute;
  width: 30px;
  height: 50px;
  line-height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-align: center;
  z-index: 10;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: white;
}
.box>.img_box>.arrow_right{
  position: absolute;
  width: 30px;
  height: 50px;
  line-height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-align: center;
  z-index: 10;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: white;
}
.arrow_left:hover,
.arrow_right:hover{
  background-color: rgba(0, 0, 0, 0.1);
}

.dot_box{
  text-align: center;
  height: 50px;
  line-height: 50px;
}

.dot_box>span{
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color:black;
  cursor: pointer;
  transition: all 0.2s;
}
.dot_box>.dot-active{
  background-color: #f00;
}

.dot_box>span:hover{
  background-color: #f00;
  transform: scale(1.2);
}
.box>.img_box>ul>.img-1{
  transform: translate(0px) scale(0.8);
  transform-origin: left center;
  z-index: 1;
}
.box>.img_box>ul>.img-2{
  transform: translate(50px);
  z-index: 2;
}
.box>.img_box>ul>.img-3{
  transform: translate(180px) scale(0.8);
  transform-origin: left center;
  z-index: 1;
}
.box>.img_box>ul>.img-4{
  transform: translate(50px) scale(0.8);
  /* transform-origin: left center; */
  z-index: 0;
}
